package easydst;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import util.Msg;

public class ResultImpl extends UnicastRemoteObject implements Result {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Object resultOfTheTest;
	
	
	public ResultImpl() throws RemoteException {
		super();
		Msg.debug("Into constructor of the ResultImpl.");
	}

	@Override
	public Object getResult() throws RemoteException {
		Msg.debug("The method getResult at ResultImpl was called.");
		return resultOfTheTest;
	}

	@Override
	public void setResult(Object result) throws RemoteException {
		resultOfTheTest = result;
	}

}
